package com.abhinav.designPatterns;

import java.io.Serializable;

@SuppressWarnings("serial")
public final class ImmutableClass implements Serializable {

	private final String name;
	private final int age;

	public ImmutableClass(final String name, final int age) {
		super();
		this.name = name;
		this.age = age;
	}

	public int getAge() {
		return age;
	}

	public String getName() {
		return name;
	}

}
